<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php $config = Utility::getVendorInfo();?>
<head>
	<?php echo $html->charset(); ?>
	<title>
		<?php echo $config['Vendor']['product'].' '.Utility::getProductVersion(); ?> Installer
	</title>
	<?php
		echo $html->meta('icon');
	?>

	<?php
		echo $html->meta('icon');
		echo $html->defaultCss();
	?>
		<script type="text/javascript">
			var URL = "<?php echo Router::url("/",true)?>";
		</script>
		<script src="<?php echo $html->url('/cms/js/jquery.js');?>" ></script>
	<script src="<?php echo $html->url('/cms/js/main.js');?>" ></script>
		
	<?php 
		echo $html->css('/installer/css/main.css');
		echo $scripts_for_layout;
	?>
	</head><body>
		<div id="container">
			<div id="content">
				<div id="box_left">
					<ul class="steps">
						<?php 
							$stepsObjects = Installer::getSteps();
						?>
						<?php foreach($stepsObjects as $index  => $stepsInfo) 
						{
							$class = '';
							if($index == $step)
							{
								$class = ' class="selected"';
							}
						?>
						<li<?php echo $class; ?>><span><?php echo $stepsInfo->getTitle(); ?></span></li>
						<?php } ?>
					</ul>
				</div>		
				<div id="box_center">
					<div class="content_body">
						<h3><?php echo $StepObject->getTitle(); ?></h3>
						<div id="installer_steps_form" class="content_items step_2">
							<?php echo $content_for_layout; ?>
							<div class="clear"></div>
						</div>
				</div>
			</div>
				<div class="clear"></div>
			</div>
		</div>
	</body>
</html>